﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="DSTinTuc.aspx.cs" Inherits="admin_DSTinTuc" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc1" %>

<%@ Register src="MyUserControls/TH_TinTucAdmin.ascx" tagname="TH_TinTucAdmin" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <span class="AdminTitle" style="color:#cc0000;">Quản lý tin tức</span>
    <a href="../Default.aspx" class="AdminPageText"></a>
    <br />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <uc1:TH_TinTucAdmin ID="TH_TinTucAdmin1" runat="server" />
    <span style="font-size:18px; font-weight:bold;">Thêm tin tức mới</span>
            <table border="0" cellspacing="0" cellpadding="0" >
                <tbody>
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="AdminPageText">
                                <tbody>
                                    <tr>
                                        <td height="20" style="width: 130px">
                                            <div align="left" style="padding-top:10px">
                                                <font class="normal8">Tiêu đề: </font>
                                            </div>
                                        </td>
                                        <td height="20">
                                            <div align="left" style="padding-top:10px">
                                                <asp:TextBox ID="txtTieuDe" runat="server" Width="300px" Text=""></asp:TextBox>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" style="width: 130px">
                                            <div align="left" style="padding-top:10px">
                                                <font class="normal8">Nội dung: </font>
                                            </div>
                                        </td>
                                        <td>
                                            <div align="left" style="padding-top:10px">
                                                <cc1:Editor ID="txtNoiDung" runat="server" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" style="width: 130px">
                                            <div align="left" style="padding-top:10px">
                                                <font class="normal8">Hình minh họa: </font>
                                            </div>
                                        </td>
                                        <td height="20">
                                            <div align="left" style="padding-top:10px">
                                                <asp:FileUpload ID="fileUploadHinhAnh" runat="server" Width="200px" />
                                                <br />
                                                <asp:Image ID="imgHinhMinhHoa" runat="server" Width="95" Height="95"/>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" style="width: 130px">

                                        </td>
                                        <td height="20">
                                            <div align="left">
                                                <br/>
                                                <p>
                                                    <asp:Button ID="lkbtnThem" runat="server" ForeColor="#003399" Text="Đăng bài" 
                                                        style="height: 26px" onclick="lkbtnThem_Click"/>
                                                </p>
                                            </div>
                                        </td>
                                    </tr>

                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
</asp:Content>

